package com.xbongbong.paas.service;

import com.xbongbong.paas.domain.entity.ext.PaasFormDataEntityExt;
import com.xbongbong.paas.domain.entity.ext.PaasFormEntityExt;
import com.xbongbong.paas.field.FieldAttrEntity;
import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.UserVO;
import com.xbongbong.pro.form.pojo.TopPermissionsPoJo;

import java.util.List;
import java.util.Map;

/**
 * @author 吴峰
 * @date 2022/05/18 21:21
 */
public interface BusinessButtonService {

    /**
     * 手机端通用权限
     * @param loginUser
     * @param paasFormEntityExt
     * @param explainMap
     * @param paasFormDataEntityExt
     * @return
     * @throws XbbException
     */
    List<TopPermissionsPoJo> dingtalkDetailCommon(UserVO loginUser, PaasFormEntityExt paasFormEntityExt, Map<String, FieldAttrEntity> explainMap, PaasFormDataEntityExt paasFormDataEntityExt) throws XbbException;
}
